package sicnu.cs.ich.api.domain.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import sicnu.cs.ich.api.domain.entity.CertificationFile;
import sicnu.cs.ich.api.domain.vo.FileVo;
import sicnu.cs.ich.api.domain.vo.UserVo;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author 沈洋 邮箱:1845973183@qq.com
 * @create 2021/12/4-17:23
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CertificationDTO implements Serializable {

    private static final long serialVersionUID = -772951924208454119L;

    private String certId;
    private UserVo user;
    private String status;
    private Integer typeId;
    private String typeName;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createDate;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date modifyDate;
    private List<FileVo> certFiles;
}
